package top.testops.service;

import top.testops.dao.UserDao;

/**
 * 通过set方法实现注入
 */
public class UserServiceImpl02 implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userdao){
        this.userDao = userdao;
    }
    public void save() {
        userDao.save();
    }
}
